$(function() {
	$("#gooey-h").gooeymenu({
		bgColor: "#666666",
		contentColor: "white",
		style: "horizontal",
		horizontal: {
			menuItemPosition: "glue"
		},
		vertical: {
			menuItemPosition: "spaced",
			direction: "up"
		},
		circle: {
			radius: 90
		},
		margin: "small",
		size: 80,
		bounce: true,
		bounceLength: "small",
		transitionStep: 100,
		hover: "#17ABE3",
		open:function(){$('.listdt').hide();},
		close:function() {$('.listdt').hide();}
	});
	
	
	$('.gooey-menu-item').on('click',function(){
		var data = $(this).attr('data');
		if(!$('#'+data).is(':visible')){
			//$('.listdt').hide();
			$('.listdt').slideUp();
			//$('#'+data).show();
			$('#'+data).slideDown();
		}else{
			//$('#'+data).hide();
			$('#'+data).slideUp();
		}
		var openMoal = $(this).attr('openMoal');
		if(openMoal=="true"){
			openModal(data);
		}
		
	});
	
});
